lcWndGetEntByPoint2 Home

Returns a handle to an entity which is touched by specified point. If several entities was found then the function will return the later created entity.

 HANDLE lcWndGetEntByPoint2 (
   HANDLE hLcWnd,
   double X,
   double Y,
   double Delta
 );

Parameters
hLcWnd
  Handle to LiteCAD graphics window.
X Y
  Selection point coordinates (drawing's units).
Delta
  Distance from X,Y point, used to make a selecting aperture.

Return Value

  Handle to the entity, if it has found at the specified point. If there are no object, the function returns NULL.

See Also

  lcWndGetEntByPoint,   lcWndGetEntsByPoint,   lcWndGetEntsByRect

Code sample,   Retrieve objects